Repository navigation
feat!: upgrade okhttp - #2262
Open
Dennis Melzer (MelleD) wants to merge 4 commits into
Open
Dennis Melzer (MelleD) wants to merge 4 commits into
Dennis Melzer (MelleD) wants to merge 4 commits into
Conversation
Publish the JVM artifact in the Maven POM while retaining platform-aware Gradle metadata. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The PR title lacks a breaking-change marker, so using it as the merge commit message risks omitting the major-version bump required by issue #1984.
1 open issue
What changed in this PR
Upgrades Kiota Java’s HTTP component to OkHttp 5.5.1 for #1984, adapting response handling and publication metadata for JVM and Android consumers.
Changes:
- Updates OkHttp and removes obsolete null-body checks, with corresponding test adjustments.
- Publishes
okhttp-jvmfor Maven while preserving platform selection through Gradle metadata, and adds metadata verification. - Documents Android requirements and platform-selection guidance.
| File | Description |
|---|---|
| README.md | Documents JVM/Android selection and Android build requirements. |
| gradle/libs.versions.toml | Upgrades OkHttp to 5.5.1. |
| components/http/okHttp/src/test/java/com/microsoft/kiota/http/OkHttpRequestAdapterTest.java | Updates empty-response fixtures and stream assertions. |
| components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java | Removes null-body checks for OkHttp 5. |
| components/http/okHttp/build.gradle | Adjusts Maven dependency publication and verifies publication metadata. |
Review effort: Balanced
Contributor
|
This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged. |
Author
|
@microsoft-github-policy-service agree company="Robert Bosch GmbH" |
Contributor
|
Conflicts have been resolved. A maintainer will take a look shortly. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix #1984